{% extends 'ProjResManBundle::layout.html.twig' %}

{% block content %}
    <h3>Date</h3>
    
    <form action="{{ path('demo_date') }}" method="post" {{ form_enctype(form) }}>
        {{ form_errors(form) }}

        {{ form_row(form.name) }}
        {{ form_row(form.description) }}
        {{ form_row(form.startDate) }}
        {{ form_row(form.endDate) }}
        {{ form_row(form.type) }}
            
        {{ form_rest(form) }}

        <input type="submit" value="Add" />
    </form>
{% endblock %}